home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Resistances / ProOne: Electronics: Resistances.iso / progfile.sfs / CUSTOM.RUL next >
Text File  |  1998-03-23  |  14KB  |  347 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Electronics, CD 1
  8.  *                                      (CD #1 of a 5-CD set)
  9.  *                    Last updated on:  03/23/1998
  10.  *  Revision Info:
  11.  *    $Revision:   1.0  $
  12.  *    $Date:   17 Feb 1997 00:15:34  $
  13. \*----------------------------------------------------------------------------*/
  14.  
  15. #define NEW_ENGINE_LAYOUT 1
  16.   // Define the above if setup is to use the new file layout
  17.   // for products based on the educational engine.
  18. #ifdef NEW_ENGINE_LAYOUT
  19.     #define SUPPORT_DLL_SET "SET001\\"
  20.       // Use the above to specify which file "Set" the files match.
  21. #endif
  22.  
  23. //#define FORCREDIT 1
  24.   // Define the above if this is a "For Credit" title based
  25.   // on the educational engine.
  26.  
  27. //=================================================================================================
  28. // The following are used in the Windows 95 Registry:
  29. //
  30. // Windows 3.x and NT NOTES:
  31. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  32. //   of SETUP.LOG files (when used).
  33. //
  34. // Windows 95 NOTES:
  35. //   COMPANY_NAME           = Used in Application Information Key
  36. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  37. //                            several message boxes, error messages, and the log file.
  38. //   PRODUCT_VERSION        = Used in Application Information Key
  39. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key.  Use ONLY ONE EXE name, UNLESS
  40. //                            the EXEs are all in the same subdirectory.  If not in the same subdir
  41. //                            then only the first EXE will have an App Paths key, and it must be the
  42. //                            same as EXE_FILENAME_1 (below).
  43. //                            The Registry can handle more, but InstallShield cannot.
  44. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  45. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  46. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  47. //
  48. #define COMPANY_NAME           "Sofsource, Inc."
  49. #define PRODUCT_NAME           "Electronics, CD 1"
  50. #define PRODUCT_VERSION        "1.34"
  51. #define APP_PATHS_KEY_EXENAMES "ELECT132.EXE;ELECT116.EXE"
  52. #define DEINSTALL_KEY          "Sof921416Ver134DeinstKey"
  53.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  54.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  55.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  56.  
  57. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  58. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  59. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  60. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  61. // longer than 17 characters will appear with ellipses (...).
  62. //                      !!! |-----------------| 17 chars max length !!!
  63. #define EXTRAICONS_APP_NAME "Electronics, CD 1"
  64. //#define EXTRAICONS_APP_NAME PRODUCT_NAME
  65.  
  66. //----- Base (Default) Destination Paths:
  67. #ifdef NEW_ENGINE_LAYOUT
  68.     #define APPBASE_DIR3X   "SOFSRC\\"
  69.     #define APPBASE_DIR95   "Sofsource\\"
  70.     #define APPPROG_DIR3X   "ELECTRON\\"
  71.     #define APPPROG_DIR95   "Electronics\\"
  72.     #define APPSET_PATH     SUPPORT_DLL_SET
  73.     #define APPCD_PATH      "\\ElectCD1\\"
  74. #else
  75.     #define APPBASE_PATH3X      "SOFSRC\\ELECTRON\\"
  76.     #define APPBASE_PATH95      "Sofsource\\Electronics\\"
  77. #endif
  78.  
  79.  
  80. //----- Define the items that MUST match LAUNCHER.PAS:
  81. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  82. //        drive as Windows 95 itself, regardless of the installation target (destination).
  83. // This also must match the cSectionName in LAUNCHER.PAS.
  84. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  85. #define PROGRAM_FOLDER_NAME     "Sofsource"
  86. //#define PROGRAM_FOLDER_NAME     "For Credit"
  87. //#define PROGRAM_FOLDER_NAME     "Premier"
  88. #define APP_UPC_CODE        "92141-6"
  89.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  90. #define PRODUCT_ID_FILENAME "ID921416.ID_"
  91.  
  92.  
  93. //=================================================================================================
  94. #define NUM_EXES_PRESENT 1
  95.   // Set the above to the number of executable files
  96.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  97.   // *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
  98.   // *** Use "-1" when there is no executable, only a help file ***
  99.  
  100. //#define NEEDS_HELPFILE_ICON 1
  101.   // Define the above if WINHELP.EXE should execute a HLP file
  102.   // IN ADDITION TO the normal EXE file handling (above).
  103.   // Use this when there is both an executable(s) AND a HLP file.
  104.  
  105.  
  106. #define SPECIAL_CASE_16AND32BOTH 1
  107.   // Define the above if this program has both a 16 and 32-bit EXE on the CD.
  108.  
  109. #define SPECIAL_CONDITIONAL_FILES 1
  110.   // Define the above if there are special files in "\PgCndtnl\" that should only
  111.   // be installed into the program directory if they are not already present.
  112.  
  113. #ifdef SPECIAL_CONDITIONAL_FILES
  114.     #define CONDFILE_COMPPATH  "PGCNDTNL\\"
  115.     #define CONDFILE_SIZE  17909
  116.     #define NUM_CONDITIONAL_FILES 6
  117.     #ifdef NUM_CONDITIONAL_FILES >= 1
  118.         #define CONDFILE1_NAME "STUDENTS.DBF"
  119.     #endif
  120.     #ifdef NUM_CONDITIONAL_FILES >= 2
  121.         #define CONDFILE2_NAME "STUDENTS.NSX"
  122.     #endif
  123.     #ifdef NUM_CONDITIONAL_FILES >= 3
  124.         #define CONDFILE3_NAME "STUDENTS.SMT"
  125.     #endif
  126.     #ifdef NUM_CONDITIONAL_FILES >= 4
  127.         #define CONDFILE4_NAME "PROGRESS.DBF"
  128.     #endif
  129.     #ifdef NUM_CONDITIONAL_FILES >= 5
  130.         #define CONDFILE5_NAME "PROGRESS.NSX"
  131.     #endif
  132.     #ifdef NUM_CONDITIONAL_FILES >= 6
  133.         #define CONDFILE6_NAME "PROGRESS.SMT"
  134.     #endif
  135. #endif
  136.  
  137. #ifdef NEW_ENGINE_LAYOUT
  138.     #define SETFILE_COMPPATH  "SetFiles\\"
  139.     #define SETFILE_SIZE  512000
  140.     //#define SETFILE1_NAME "SMACKW16.DLL"
  141.     //#define SETFILE2_NAME "SMACKE16.DLL"
  142.     //#define SETFILE3_NAME "SMACKW32.DLL"
  143.     //#define SETFILE4_NAME "MSS16.DLL"
  144.     //#define SETFILE5_NAME "MSS32.DLL"
  145.     //#define SETFILE6_NAME "MSSB16.TSK"
  146. #endif
  147.  
  148. //=================================================================================================
  149. // Documentation/READ-ME file definitions:
  150.  
  151. // Define the following if a README file is present
  152. #define DOCUMENTATION_PRESENT 1
  153. #ifdef DOCUMENTATION_PRESENT
  154.     #define DOC_FILE_NAME "Electron.TXT"
  155.     #define DOC_ICON_NAME '"Electronics Read Me"'
  156. #endif
  157.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  158.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  159.   //        without the extra single quotes, you could not use special characters (such as
  160.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  161.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  162.  
  163. //=================================================================================================
  164. // Executable and Icon File Definitions:
  165.  
  166. #ifdef NUM_EXES_PRESENT >= 1
  167. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  168. //                        !!! |-----------------| 17 chars max length
  169.     #define PROGICON_NAME_1 '"Electronics, CD 1"'
  170.     #ifdef SPECIAL_CASE_16AND32BOTH
  171.         #define EXE_FILENAME16_1  "ELECT116.EXE"
  172.         #define ICON_FILENAME16_1 "ELECT116.EXE"
  173.         #define EXE_FILENAME32_1  "ELECT132.EXE"
  174.         #define ICON_FILENAME32_1 "ELECT132.EXE"
  175.     #else
  176.         #define EXE_FILENAME_1  "?.EXE"
  177.         #define ICON_FILENAME_1 "?.ICO"
  178.     #endif
  179. #endif
  180. #ifdef NUM_EXES_PRESENT >= 2
  181.     #define PROGICON_NAME_2 '""'
  182.     #define EXE_FILENAME_2  ""
  183.     #define ICON_FILENAME_2 ""
  184. #endif
  185. #ifdef NUM_EXES_PRESENT >= 3
  186.     #define PROGICON_NAME_3 '""'
  187.     #define EXE_FILENAME_3  ""
  188.     #define ICON_FILENAME_3 ""
  189. #endif
  190. #ifdef NUM_EXES_PRESENT >= 4
  191.     #define PROGICON_NAME_4 '""'
  192.     #define EXE_FILENAME_4  ""
  193.     #define ICON_FILENAME_4 ""
  194. #endif
  195. #ifdef NUM_EXES_PRESENT = -1
  196.     #define HELP_NAME_1 '"???"'
  197.     #define HLP_FILE_1  "???.HLP"
  198. #endif
  199. #ifdef NEEDS_HELPFILE_ICON
  200.     #define HELP_NAME_1 '"??? Help"'
  201.     #define HLP_FILE_1  "???.HLP"
  202. #endif
  203.  
  204.  
  205. //=================================================================================================
  206. // Special Case Involving Running From CD-ROM
  207.  
  208. #define CDROM_ALWAYS_REQUIRED 1
  209.   // Define the above if the CD-ROM must always be inserted to use the program
  210.  
  211.  
  212. //#define EXE_RUN_FROM_CDROM 1
  213.   // Define the above if the EXE is started from the CD-ROM
  214.  
  215. #ifdef EXE_RUN_FROM_CDROM
  216.     #ifdef NUM_EXES_PRESENT >= 1
  217.         #define SRC_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  218.     #endif
  219.     #ifdef NUM_EXES_PRESENT >= 2
  220.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  221.     #endif
  222.     #ifdef NUM_EXES_PRESENT >= 3
  223.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  224.     #endif
  225.     #ifdef NUM_EXES_PRESENT >= 4
  226.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  227.     #endif
  228. #endif
  229.  
  230.  
  231. //#define WORKING_DIR_ON_CDROM 1
  232.   // Define the above if the working directory should be on the CD-ROM
  233.   // otherwise the working directory will be the installation target directory
  234.  
  235. #ifdef WORKING_DIR_ON_CDROM
  236.     #ifdef NUM_EXES_PRESENT >= 1
  237.         #define WORK_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  238.     #endif
  239.     #ifdef NUM_EXES_PRESENT >= 2
  240.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  241.     #endif
  242.     #ifdef NUM_EXES_PRESENT >= 3
  243.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  244.     #endif
  245.     #ifdef NUM_EXES_PRESENT >= 4
  246.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  247.     #endif
  248. #endif
  249.  
  250.  
  251. //=================================================================================================
  252. //----- SPECIAL-CASE Definitions:
  253.  
  254. //#define REQUIRES_INI_FILE_ENTRIES 1
  255.   // Define the above if special INI file entries need to be made
  256.  
  257. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  258.   // Define the above if this is an old program which will not find it's fonts
  259.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  260.   // Such fonts will still be properly installed in the registry.
  261.  
  262. // The special-case is on the CD-ROM version only, not the diskette version:
  263. #ifdef EXE_RUN_FROM_CDROM
  264.     //#define SPECIAL_CASE_TERM_PAPER 1
  265.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  266.       // Also define REQUIRES_INI_FILE_ENTRIES
  267.  
  268.     //#define SPECIAL_CASE_BOOK_REPORT 1
  269.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  270.       // Also define REQUIRES_INI_FILE_ENTRIES
  271. #endif
  272.  
  273. //#define SPECIAL_CASE_RESUME 1
  274.   // Define the above if this is Windows Resume
  275.   // Also define REQUIRES_INI_FILE_ENTRIES
  276.  
  277. //#define SPECIAL_CASE_MM_TRIVIA 1
  278.   // Define the above if this is Multimedia Trivia
  279.  
  280. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  281.   // Define the above if this is Windows Made Easy
  282.  
  283. //#define SPECIAL_CASE_TYPING_TEACHER 1
  284.   // Define the above if this is Multimedia Typing Teacher
  285.  
  286. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  287.   // Define the above if this is Easy Tutorial for Windows 95
  288.  
  289. //#define SPECIAL_CASE_OFFICE_SUITE 1
  290.   // Define the above if this is Office Suite
  291.  
  292. //#define SPECIAL_CASE_3DIT
  293.   // Define the above if this is 3D-It
  294.   // Also define REQUIRES_INI_FILE_ENTRIES
  295.  
  296. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  297.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  298.   // Also define REQUIRES_INI_FILE_ENTRIES
  299.  
  300.  
  301. //=================================================================================================
  302. // Requirements definitions:
  303.  
  304.   //----- VIDEO FOR WINDOWS:
  305.   //
  306. //#define REQUIRES_VFW 1
  307.   // Define the above if Video For Windows is required
  308.  
  309.   //----- WinG:
  310.   //
  311. //#define REQUIRES_WinG 1
  312.   // Define the above if WinG is required (for program, not SetupWNG)
  313.  
  314.   //----- Speaker Driver
  315.   //
  316. //#define REQUIRES_SPEAKER_DRIVER 1
  317.   // Define the above if the speaker driver should be installed
  318.  
  319.  
  320.   //----- Processor requirements (overridden by VFW):
  321. #ifdef REQUIRES_VFW
  322.     #define REQUIRES_80386 1
  323. #else
  324.       //--- CPU REQUIREMENTS:
  325.       //
  326.     //#define REQUIRES_80286   1
  327.     #define REQUIRES_80386   1
  328.     //#define REQUIRES_80486   1
  329.     //#define REQUIRES_PENTIUM 1
  330. #endif
  331.  
  332.  
  333. //#define REQUIRES_WINDOWS95      1
  334.   // Define the above if Windows 95 is required.
  335.   // If Windows 95 is required, then define the following if
  336.   // the program will also run under Windows NT and/or Win32s.
  337.   // APP_IS_32BIT should be defined for 32-bit programs (this
  338.   // is intended for future use).
  339.  
  340. #ifdef REQUIRES_WINDOWS95
  341.     #define OK_WINDOWSNT 1
  342.     //#define OK_WIN32S    1
  343.     //#define APP_IS_32BIT 1
  344. #endif
  345.  
  346. // eof CUSTOM.RUL
  347.